#ifndef RESETPWD_H
#define RESETPWD_H

#include <QWidget>
#include <QMessageBox>
#include <QSqlQuery>

namespace Ui {
class Resetpwd;
}

class Resetpwd : public QWidget
{
    Q_OBJECT

public:
    explicit Resetpwd(QWidget *parent = nullptr);
    ~Resetpwd();
    void setAccountAndQuestion(const QString& account, const QString& question, const QString& answer);

private slots:
    void on_resetPwdSubmitBtn_clicked();

private:
    Ui::Resetpwd *ui;
    QString m_account;
    QString m_answer;
};

#endif // RESETPWD_H
